projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a3142d
)
[SOLARIS2]: Include string.h.
author
Karl Heuer
<kwzh@gnu.org>
Sat, 25 May 1996 23:37:13 +0000
(23:37 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sat, 25 May 1996 23:37:13 +0000
(23:37 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index a44c44f2538f6f9da9abe7346ff0ef46285ff9b2..dd30016b435a46553ee70b1f1747a9950611b4d0 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-114,6
+114,13
@@
extern void _XEditResCheckMessages ();
#include <locale.h>
#endif
+#ifdef SOLARIS2
+/* memmove will be defined as a macro in Xfuncs.h unless
+ <string.h> is included beforehand. The declaration for memmove in
+ <string.h> will cause a syntax error when Xfuncs.h later includes it. */
+#include <string.h>
+#endif
+
#ifdef SOLARIS2
#define X_CONNECTION_LOCK_FLAG XlibDisplayWriting
#endif